import { createRouter, createWebHashHistory } from "vue-router"

import MainPage from '@/components/Main.vue'
import TeacherPage from '@/components/Teacher.vue'
import StudentPage from '@/components/Student.vue'
import NoticePage from '@/components/Notice.vue'
import SystemPage from '@/components/System.vue'
import TestPage from '@/components/Test.vue'
import QuestionListPage from '@/components/QuestionList.vue'
import MathListPage from '@/components/MathList.vue'
import CreateMathPage from '@/components/CreateMath.vue'
import CreateLessionPage from '@/components/CreateLession.vue'
import ImportQuestionPage from '@/components/ImportQuestion.vue'
import AddQuestionPage from '@/components/AddQuestion.vue'
import LessionListPage from '@/components/LessionList.vue'
import DashBoardPage from '@/components/DashBoard.vue'
const router = createRouter({
    history: createWebHashHistory(),
    routes: [{
        path: '/',
        component: MainPage
    }, {
        path: '/Teacher',
        component: TeacherPage
    }, {
        path: '/Student',
        component: StudentPage
    }, {
        path: '/Notice',
        component: NoticePage
    }, {
        path: '/System',
        component: SystemPage
    }, {
        path: '/Test',
        component: TestPage
    }, {
        path: '/MatchList',
        component: MathListPage
    }, {
        path: '/QuestionList',
        component: QuestionListPage
    }, {
        path: '/CreateMath',
        component: CreateMathPage
    }, {
        path: '/CreateLession',
        component: CreateLessionPage
    }, {
        path: '/ImportQuestion',
        component: ImportQuestionPage
    }, {
        path: '/AddQuestion',
        component: AddQuestionPage
    }, {
        path: '/LessionList',
        component: LessionListPage
    }, {
        path: '/DashBoard',
        component: DashBoardPage
    }]
})
export default router